package com.example.ware.model.vo;

import com.example.ware.model.po.Place;
import com.example.ware.model.po.Ware;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Data
@Component
public class WareInfo {
    private String id;
    private String name;
    private String location;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date createtime;
    private String aname;
    private String telephone;
    private String longitude;
    private String latitude;
    private List<Place> placeList;
}
